Merge from origin/emacs-29
authorEli Zaretskii <eliz@gnu.org>
Sat, 2 Mar 2024 08:43:14 +0000 (03:43 -0500)
committerEli Zaretskii <eliz@gnu.org>
Sat, 2 Mar 2024 08:43:14 +0000 (03:43 -0500)
ae80192d97b ; * src/buffer.c (Fmake_indirect_buffer): Doc fix.
2549eabc97f Fix typos in vnvni.el.
647cecc853e ; * lisp/vc/vc.el (vc-clone): Fix wording of doc string.
383ccf6d51f Avoid assertion violations in bidi.c
b7cef701cb5 * lisp/files.el (hack-one-local-variable): Use `set-auto-...
05308001759 Fix infinite recursion in gdb-mi.el

1  2 
lisp/files.el
lisp/progmodes/gdb-mi.el
lisp/vc/vc.el
src/bidi.c
src/buffer.c

diff --cc lisp/files.el
Simple merge
Simple merge
diff --cc lisp/vc/vc.el
index 3cd17276fa473feb33016f23d1d52aec1b47f4ed,25540406b4eb28572c2dc995afb1c7caf881b44c..f26e5cc751d2ad0ee8297a4723e4f19773149adc
@@@ -3801,12 -3676,18 +3801,17 @@@ to provide the `find-revision' operatio
    (vc-call-backend (vc-backend buffer-file-name) 'check-headers))
  
  (defun vc-clone (remote &optional backend directory rev)
-   "Use BACKEND to clone REMOTE into DIRECTORY.
- If successful, returns the string with the directory of the
- checkout.  If BACKEND is nil, iterate through every known backend
- in `vc-handled-backends' until one succeeds.  If REV is non-nil,
- it indicates a specific revision to check out."
+   "Clone repository REMOTE using version-control BACKEND, into DIRECTORY.
+ If successful, return the string with the directory of the checkout;
+ otherwise return nil.
+ REMOTE should be a string, the URL of the remote repository or the name
+ of a directory (if the repository is local).
+ If DIRECTORY is nil or omitted, it defaults to `default-directory'.
+ If BACKEND is nil or omitted, the function iterates through every known
+ backend in `vc-handled-backends' until one succeeds to clone REMOTE.
+ If REV is non-nil, it indicates a specific revision to check out after
+ cloning; the syntax of REV depends on what BACKEND accepts."
 -  (unless directory
 -    (setq directory default-directory))
 +  (setq directory (expand-file-name (or directory default-directory)))
    (if backend
        (progn
          (unless (memq backend vc-handled-backends)
diff --cc src/bidi.c
Simple merge
diff --cc src/buffer.c
Simple merge